package com.xunker.appointment.model.base;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Data
public class BaseNoAutoEntity  implements Serializable {
    @ApiModelProperty(value="编号")

    private Long id;
    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除：1：删除")
    @TableLogic
    @TableField("deleted")
    private Integer deleted;
    @ApiModelProperty("其他参数")
    @TableField(exist=false)
    private Map<String,Object> param=new HashMap<>();
}
